import typescript from '@rollup/plugin-typescript'

export default {
  input: 'src/index.ts',
  output: [
    {
      file: 'dist/inde.js',
      format: 'cjs'
    },
    {
      file: 'dist/inde.es.js',
      format: 'es'
    },
    {
      file: 'dist/inde.umd.js',
      format: 'umd',
      name: 'contextMenuPlus'
    }
  ],
  plugins: [
    typescript()
  ]
}